using System;
using System.Collections.Generic;
using System.Text;
using FlexminAPI;
using System.ServiceProcess;
using System.ComponentModel;

namespace Remote_Desktop
{
	public class DeskSlave : ISlave
	{
		public bool IsHomeVersionOfWindows()
		{
			OperatingSystem ver = Environment.OSVersion;
			return false;
		}

		public bool AreServicesReady()
		{
			ServiceController TermService = new ServiceController("TermService");
			ServiceController[] DependedServices = TermService.ServicesDependedOn;

			if (TermService.Status != ServiceControllerStatus.Running)
				return false;

			return true;			
		}

		public void StartServices()
		{
			// Not implemented yet!
		}		
	}
}
